package com.apartmentManage.service;

import com.apartmentManage.entity.Admin;
import org.apache.ibatis.annotations.Param;

public interface AdminService {
    /*根据条件查询*/
    boolean getByRequirement(Admin admin);

    /*添加数据*/
    boolean save(Admin admin,String againPassword);

    /*修改数据*/
    boolean updateByOldPassword(Admin admin);

}
